
module("NetWork.Action.LoadAllianceInfoSmAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

LoadAllianceInfoSmAction = NetCmdActionBase:new()

function LoadAllianceInfoSmAction:Action(bytes)
    local LoadAllianceInfoSm = require("Protol.groupMessage_pb").LoadAllianceInfoSm()
    LoadAllianceInfoSm:ParseFromString(bytes)

    if LoadAllianceInfoSm.code ~= 0 then
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(LoadAllianceInfoSm.code)
        return
    end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.LoadAllianceInfoSm(LoadAllianceInfoSm)
end

require("NetWork.NetCmdSet").CmdSet[2014] = LoadAllianceInfoSmAction --注册处理对象